﻿Imports MeoTom.Core

Partial Public Class Logout
    Inherits UI.Page
    Public Util As New Utilities.Common()

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
        Try
            util.SetCookie("UserName", "")
            util.SetCookie("ID", "")
            util.SetCookie("Email", "")
            util.SetSession("UserName", "")
            util.SetSession("ID", "")
            util.SetSession("Email", "")
            Session.Abandon()
        Catch ex As Exception
        End Try
        Response.Redirect("/mt-inside/Login.aspx?loggedout=true")
    End Sub

End Class